package com.magic233.mapper;

import com.magic233.entity.WorkType;

import java.util.List;

public interface WorkTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByType(String type);

    int insert(WorkType record);

    int insertSelective(WorkType record);

    WorkType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WorkType record);

    int updateByPrimaryKey(WorkType record);

    //查询没有逻辑删除的维修类别
    List<WorkType> selectAll();

    //查询所有维修类别,
    List<WorkType> selectAll2();

    WorkType selectByType(String type);
}
